import { Schema } from "@/api/interface/iot";
import http from "@/api";
export const getProfile = (params?: any) => {
	return http.get<Schema.ResProfileInfo>(`/profile/get`, params, {
		headers: { noLoading: true }
	});
};
// 配置profile整体替换
export const replaceProfile = (params?: any) => {
	return http.post(`/profile/save`, params);
};
// 配置profile层级合并更新
export const modifyProfile = (params?: any) => {
	return http.post(`/profile/merge`, params);
};
